//
//  ChineseString.m
//  AttendenceSys
//
//  Created by ld on 16/9/18.
//  Copyright © 2016年 窦芳俊. All rights reserved.
//

#import "ChineseString.h"

@implementation ChineseString

char pinyinFirstLetter(unsigned short hanzi)
{
    int index = hanzi - HANZI_START;
    if (index >= 0 && index <= HANZI_COUNT)
    {
        return firstLetterArray[index];
    }
    else
    {
        return hanzi;
    }
}
@end
